package com.asset.dispoal.business.mediation.domain.db.mapper;

import com.asset.dispoal.business.mediation.domain.db.entity.ReduceAgreementTmp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 减免预设操作合同记录表(BsCaseReduceAgreementTmp)表数据库访问层
 *
 * @author yf
 * @since 2022-08-26 09:34:17
 */
@Mapper
public interface ReduceAgreementTmpMapper {

    /**
     * 批量插入合同信息
     *
     * @param agreementTmps
     * @return
     */
    int insertBatch(@Param("entities") List<ReduceAgreementTmp> agreementTmps);

    /**
     * 获取合同列表
     *
     * @param agreementIds
     * @return
     */
    List<ReduceAgreementTmp> getAgreementInfoByIds(String agreementIds);
}

